package enum

import (
	"mldong/utility"
)

func init() {
	utility.RegisterEnumValues("管理员类型", "sys_user_admin_type", []interface{}{
		ADMIN_TYPE_COMMON_ADMIN,
		ADMIN_TYPE_SUPER_ADMIN,
	})
}

// 管理员类型枚举
type AdminTypeEnum struct {
	Key     string
	Code    int
	Message string
}

var (
	ADMIN_TYPE_SUPER_ADMIN  = AdminTypeEnum{Key: "SUPER_ADMIN", Code: 1, Message: "超级管理员"}
	ADMIN_TYPE_COMMON_ADMIN = AdminTypeEnum{Key: "COMMON_ADMIN", Code: 2, Message: "普通管理员"}
)
